/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.life.entity;

import java.util.Date;
import java.util.List;

import javax.validation.constraints.NotNull;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;
import com.fosung.frame.common.utils.excel.annotation.ExcelField;
import com.fosung.frame.modules.score.entity.OrganizePersonDetail;
import com.fosung.frame.modules.score.entity.PartyScoreDetail;
import com.fosung.frame.modules.score.entity.PersonScoreDetail;

/**
 * 组织生活管理Entity
 * 
 * @author zhangfn
 * @version 2017-08-29
 */
public class OrganizeLife extends DataEntity<OrganizeLife> {

	private static final long serialVersionUID = 1L;
	private String lifename; // 活动名称
	private String organizationid; // 支部ID
	private String typeids; // 活动类型id
	private String compere; // 主持人
	private String adress; // 活动地点
	private String ydnum; // 应到人数
	private String sdnum; // 实到人数
	private String qxnum; // 缺席人数
	private Date jhtime; // 计划时间
	private Date starttime; // 开始时间
	private Date endtime; // 结束时间
	private String contentzy; // 内容摘要
	private String zycontent; // 主要内容
	private String yyzl; // 影音资料
	private String fujian; // 附件
	private String bmperson; // 报名党员
	private String qjperson; // 请假党员
	private String sdperson; // 实到党员
	private String jhstate; // 计划状态
	private String jhstate1; // 计划状态查询多选时传递参数用
	private String shstate; // 审核状态
	private String shstate1; // 审核状态
	private String partyscoreid; // 党组织积分内容id
	private String personscoreid; // 党员积分内容id
	private String partyscore; // 党组织积分
	private String column23; // 记录人
	private String column24; // 考核周期ID
	private String column25; // 组织生活信息表数据标识
	private String column26; // column_26
	private String column27; // column_27
	private String column28; // column_28
	private String organizationName;
	private String shyj;// 审核意见
	private String zq;//周期
	private List<String> idList;//统计，按照组织活动ID in查询
	private String bmperson$value;
	private String name;


	private List<PartyScoreDetail> partyScoreDetailList;// 党组织积分内容明细
	private List<PersonScoreDetail> personScoreDetailList;// 党员积分内容明细
	private List<List<OrganizePersonDetail>> organizePersonDetailList;
	private List<OrganizePersonDetail> organizePersonDetailList1;//党员积分申请
	

	public OrganizeLife() {
		super();
	}

	public OrganizeLife(String id) {
		super(id);
	}
	@NotNull(message="活动名称不能为空")
	@ExcelField(title="活动名称", align=2, sort=20)
	@Length(min = 1, max = 64, message = "活动名称长度必须介于 1 和 64 之间")
	public String getLifename() {
		return lifename;
	}

	public void setLifename(String lifename) {
		this.lifename = lifename;
	}

	@Length(min = 0, max = 64, message = "支部ID长度必须介于 0 和 64 之间")
	public String getOrganizationid() {
		return organizationid;
	}

	public void setOrganizationid(String organizationid) {
		this.organizationid = organizationid;
	}
	@ExcelField(title="分类", align=2, sort=30)
	public String getTypeids() {
		return typeids;
	}

	public void setTypeids(String typeids) {
		this.typeids = typeids;
	}

	@Length(min = 0, max = 64, message = "主持人长度必须介于 0 和 64 之间")
	public String getCompere() {
		return compere;
	}

	public void setCompere(String compere) {
		this.compere = compere;
	}
	@ExcelField(title="活动地点", align=2, sort=60)
	@Length(min = 0, max = 64, message = "活动地点长度必须介于 0 和 64 之间")
	public String getAdress() {
		return adress;
	}

	public void setAdress(String adress) {
		this.adress = adress;
	}

	@Length(min = 0, max = 64, message = "应到人数长度必须介于 0 和 64 之间")
	public String getYdnum() {
		return ydnum;
	}

	public void setYdnum(String ydnum) {
		this.ydnum = ydnum;
	}

	@Length(min = 0, max = 64, message = "实到人数长度必须介于 0 和 64 之间")
	public String getSdnum() {
		return sdnum;
	}

	public void setSdnum(String sdnum) {
		this.sdnum = sdnum;
	}

	@Length(min = 0, max = 64, message = "缺席人数长度必须介于 0 和 64 之间")
	public String getQxnum() {
		return qxnum;
	}

	public void setQxnum(String qxnum) {
		this.qxnum = qxnum;
	}

	// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getJhtime() {
		return jhtime;
	}

	public void setJhtime(Date jhtime) {
		this.jhtime = jhtime;
	}

	// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="开始时间", align=2, sort=50)
	public Date getStarttime() {
		return starttime;
	}

	public void setStarttime(Date starttime) {
		this.starttime = starttime;
	}

	// @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="结束时间", align=2, sort=50)
	public Date getEndtime() {
		return endtime;
	}

	public void setEndtime(Date endtime) {
		this.endtime = endtime;
	}

	public String getContentzy() {
		return contentzy;
	}

	public void setContentzy(String contentzy) {
		this.contentzy = contentzy;
	}

	public String getZycontent() {
		return zycontent;
	}

	public void setZycontent(String zycontent) {
		this.zycontent = zycontent;
	}

	@Length(min = 0, max = 1000, message = "影音资料长度必须介于 0 和 1000 之间")
	public String getYyzl() {
		return yyzl;
	}

	public void setYyzl(String yyzl) {
		this.yyzl = yyzl;
	}

	@Length(min = 0, max = 1000, message = "附件长度必须介于 0 和 1000 之间")
	public String getFujian() {
		return fujian;
	}

	public void setFujian(String fujian) {
		this.fujian = fujian;
	}

	@Length(min = 0, max = 500, message = "报名党员长度必须介于 0 和 500 之间")
	public String getBmperson() {
		return bmperson;
	}

	public void setBmperson(String bmperson) {
		this.bmperson = bmperson;
	}

	@Length(min = 0, max = 500, message = "请假党员长度必须介于 0 和 500 之间")
	public String getQjperson() {
		return qjperson;
	}

	public void setQjperson(String qjperson) {
		this.qjperson = qjperson;
	}

	@Length(min = 0, max = 500, message = "实到党员长度必须介于 0 和 500 之间")
	public String getSdperson() {
		return sdperson;
	}

	public void setSdperson(String sdperson) {
		this.sdperson = sdperson;
	}
	@ExcelField(title="状态", align=2, sort=40)
	@Length(min = 0, max = 1, message = "计划状态长度必须介于 0 和 1 之间")
	public String getJhstate() {
		return jhstate;
	}

	public void setJhstate(String jhstate) {
		this.jhstate = jhstate;
	}

	@Length(min = 0, max = 1, message = "审核状态长度必须介于 0 和 1 之间")
	public String getShstate() {
		return shstate;
	}

	public void setShstate(String shstate) {
		this.shstate = shstate;
	}

	@Length(min = 0, max = 64, message = "党组织积分内容id长度必须介于 0 和 64 之间")
	public String getPartyscoreid() {
		return partyscoreid;
	}

	public void setPartyscoreid(String partyscoreid) {
		this.partyscoreid = partyscoreid;
	}

	@Length(min = 0, max = 64, message = "党员积分内容id长度必须介于 0 和 64 之间")
	public String getPersonscoreid() {
		return personscoreid;
	}

	public void setPersonscoreid(String personscoreid) {
		this.personscoreid = personscoreid;
	}

	@Length(min = 0, max = 64, message = "党组织积分长度必须介于 0 和 64 之间")
	public String getPartyscore() {
		return partyscore;
	}

	public void setPartyscore(String partyscore) {
		this.partyscore = partyscore;
	}

	public String getColumn23() {
		return column23;
	}

	public void setColumn23(String column23) {
		this.column23 = column23;
	}

	@Length(min = 1, max = 64, message = "column_24长度必须介于 1 和 64 之间")
	public String getColumn24() {
		return column24;
	}

	public void setColumn24(String column24) {
		this.column24 = column24;
	}

	@Length(min = 1, max = 64, message = "column_25长度必须介于 1 和 64 之间")
	public String getColumn25() {
		return column25;
	}

	public void setColumn25(String column25) {
		this.column25 = column25;
	}

	@Length(min = 1, max = 64, message = "column_26长度必须介于 1 和 64 之间")
	public String getColumn26() {
		return column26;
	}

	public void setColumn26(String column26) {
		this.column26 = column26;
	}

	@Length(min = 1, max = 64, message = "column_27长度必须介于 1 和 64 之间")
	public String getColumn27() {
		return column27;
	}

	public void setColumn27(String column27) {
		this.column27 = column27;
	}

	@Length(min = 1, max = 64, message = "column_28长度必须介于 1 和 64 之间")
	public String getColumn28() {
		return column28;
	}

	public void setColumn28(String column28) {
		this.column28 = column28;
	}

	public String getOrganizationName() {
		return organizationName;
	}

	public void setOrganizationName(String organizationName) {
		this.organizationName = organizationName;
	}

	public String getShyj() {
		return shyj;
	}

	public void setShyj(String shyj) {
		this.shyj = shyj;
	}

	public List<PartyScoreDetail> getPartyScoreDetailList() {
		return partyScoreDetailList;
	}

	public void setPartyScoreDetailList(List<PartyScoreDetail> partyScoreDetailList) {
		this.partyScoreDetailList = partyScoreDetailList;
	}

	public List<PersonScoreDetail> getPersonScoreDetailList() {
		return personScoreDetailList;
	}

	public void setPersonScoreDetailList(List<PersonScoreDetail> personScoreDetailList) {
		this.personScoreDetailList = personScoreDetailList;
	}


	public List<List<OrganizePersonDetail>> getOrganizePersonDetailList() {
		return organizePersonDetailList;
	}

	public void setOrganizePersonDetailList(List<List<OrganizePersonDetail>> organizePersonDetailList) {
		this.organizePersonDetailList = organizePersonDetailList;
	}

	public String getJhstate1() {
		return jhstate1;
	}

	public void setJhstate1(String jhstate1) {
		this.jhstate1 = jhstate1;
	}

	public String getShstate1() {
		return shstate1;
	}

	public void setShstate1(String shstate1) {
		this.shstate1 = shstate1;
	}

	public List<OrganizePersonDetail> getOrganizePersonDetailList1() {
		return organizePersonDetailList1;
	}

	public void setOrganizePersonDetailList1(List<OrganizePersonDetail> organizePersonDetailList1) {
		this.organizePersonDetailList1 = organizePersonDetailList1;
	}

	public String getZq() {
		return zq;
	}

	public void setZq(String zq) {
		this.zq = zq;
	}

	public List<String> getIdList() {
		return idList;
	}

	public void setIdList(List<String> idList) {
		this.idList = idList;
	}

	public String getBmperson$value() {
		return bmperson$value;
	}

	public void setBmperson$value(String bmperson$value) {
		this.bmperson$value = bmperson$value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

}